/****************************************************************************
** Form implementation generated from reading ui file 'frontpanel.ui'
**
** Created: Fri Dec 1 13:39:13 2006
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.6   edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "frontpanel.h"

#include <qvariant.h>
#include <qlcdnumber.h>
#include <qpushbutton.h>
#include <qmultilineedit.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/*
 *  Constructs a frontpanel as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
frontpanel::frontpanel( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "NoName" );

    NoName_2 = new QWidget( this, "NoName_2" );
    NoName_2->setGeometry( QRect( 10, 290, 490, 320 ) );

    NoName_3 = new QWidget( this, "NoName_3" );
    NoName_3->setGeometry( QRect( 270, 50, 230, 230 ) );

    NoName_4 = new QLCDNumber( this, "NoName_4" );
    NoName_4->setGeometry( QRect( 130, 170, 130, 30 ) );
    NoName_4->setProperty( "value", 0 );

    NoName_5 = new QLCDNumber( this, "NoName_5" );
    NoName_5->setGeometry( QRect( 130, 250, 130, 30 ) );
    NoName_5->setProperty( "value", 0 );

    NoName_6 = new QLCDNumber( this, "NoName_6" );
    NoName_6->setGeometry( QRect( 130, 210, 130, 30 ) );
    NoName_6->setProperty( "value", 0 );

    NoName_7 = new QPushButton( this, "NoName_7" );
    NoName_7->setGeometry( QRect( 10, 130, 110, 110 ) );

    NoName_8 = new QPushButton( this, "NoName_8" );
    NoName_8->setGeometry( QRect( 10, 50, 110, 30 ) );

    NoName_9 = new QPushButton( this, "NoName_9" );
    NoName_9->setGeometry( QRect( 10, 250, 110, 30 ) );

    NoName_10 = new QPushButton( this, "NoName_10" );
    NoName_10->setGeometry( QRect( 10, 90, 110, 30 ) );

    NoName_11 = new QWidget( this, "NoName_11" );
    NoName_11->setGeometry( QRect( 180, 130, 80, 30 ) );

    NoName_12 = new QWidget( this, "NoName_12" );
    NoName_12->setGeometry( QRect( 180, 50, 80, 30 ) );

    NoName_13 = new QWidget( this, "NoName_13" );
    NoName_13->setGeometry( QRect( 180, 90, 80, 30 ) );

    NoName_14 = new QMultiLineEdit( this, "NoName_14" );
    NoName_14->setGeometry( QRect( 10, 620, 490, 150 ) );

    NoName_15 = new QLabel( this, "NoName_15" );
    NoName_15->setGeometry( QRect( 130, 50, 50, 30 ) );

    NoName_16 = new QLabel( this, "NoName_16" );
    NoName_16->setGeometry( QRect( 130, 90, 50, 30 ) );

    NoName_17 = new QLabel( this, "NoName_17" );
    NoName_17->setGeometry( QRect( 130, 130, 50, 30 ) );

    NoName_18 = new QPushButton( this, "NoName_18" );
    NoName_18->setGeometry( QRect( 10, 10, 110, 30 ) );

    NoName_19 = new QWidget( this, "NoName_19" );
    NoName_19->setGeometry( QRect( 240, 10, 40, 30 ) );

    NoName_20 = new QWidget( this, "NoName_20" );
    NoName_20->setGeometry( QRect( 150, 10, 40, 30 ) );

    NoName_21 = new QLabel( this, "NoName_21" );
    NoName_21->setGeometry( QRect( 130, 10, 20, 30 ) );

    NoName_22 = new QLabel( this, "NoName_22" );
    NoName_22->setGeometry( QRect( 200, 10, 40, 30 ) );

    NoName_23 = new QLabel( this, "NoName_23" );
    NoName_23->setGeometry( QRect( 290, 10, 50, 30 ) );

    NoName_24 = new QWidget( this, "NoName_24" );
    NoName_24->setGeometry( QRect( 340, 10, 70, 30 ) );
    languageChange();
    resize( QSize(510, 780).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

/*
 *  Destroys the object and frees any allocated resources
 */
frontpanel::~frontpanel()
{
    // no need to delete child widgets, Qt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void frontpanel::languageChange()
{
    setCaption( tr( "NoName" ) );
    NoName_7->setText( tr( "Stop" ) );
    NoName_8->setText( tr( "Single shot" ) );
    NoName_9->setText( tr( "Start Batch" ) );
    NoName_10->setText( tr( "Continuous" ) );
    NoName_15->setText( tr( "X pos.:" ) );
    NoName_16->setText( tr( "Y pos.:" ) );
    NoName_17->setText( tr( "Z pos.:" ) );
    NoName_18->setText( tr( "Burst" ) );
    NoName_21->setText( tr( "N:" ) );
    NoName_22->setText( tr( "f (1/s):" ) );
    NoName_23->setText( tr( "T (usec)" ) );
}

